package com.orkun.api.converter.reader;

import java.io.DataInputStream;
import java.util.ArrayList;

import com.orkun.api.converter.core.AbsModel;

/**
 * Reader is used by the Converter class to parse data from an InputStream
 *
 * @param <T> the model class to parse the data into 
 */
public interface Reader<T extends AbsModel> {

  ArrayList<T> readData(DataInputStream is);

  // protected abstract boolean validateSchema(String filePath);
}
